package com.oracle.service;

import com.oracle.vo.BGC;
import com.oracle.vo.Boy;
import com.oracle.vo.Girl;
import org.springframework.stereotype.Service;

/**
 * @program: CampusMatching
 * @description:
 * @author: zhaolei
 * @create: 2020-08-04 11:22
 **/
@Service
public class BGCService {

    public BGC combination(Boy boy, Girl girl){
        BGC bgc=new BGC();
        bgc.setBid(boy.getBid());
        bgc.setGid(girl.getGid());
        bgc.setBname(boy.getBname());
        bgc.setGname(girl.getGname());
        bgc.setBschool(boy.getBschool());
        bgc.setGschool(girl.getGschool());
        bgc.setBpic(boy.getBpic());
        bgc.setGpic(girl.getGpic());
        return  bgc;
    }

}
